[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
How do I make the first one have the same exact > formtating as the real footnote? Footnotes apply the \tx style to the number in the running text and to get the same text size with \high you need \tx before the argument. Another solution is to create your own \high command where you set the text s

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Wolfgang Schuster
to superscript text, but if you compile this, you can see the first "1" and second "1" have entirely different formatting. How do I make the first one have the same exact formtating as the real footnote? Footnotes apply the \tx style to the number in the running text and t

[NTG-context] Re: Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-25 Thread Gerion Entrup
btxflushauthor{author}" and not to "D. E. > Knuth". >How can I pass the data? > > I use Lua only because I find it more convenient as a programming language. > If a > plain tex solution is simpler, I'm happy to use that. > > > An

[NTG-context] Define a new command that inherits from multiple other command options

2024-04-25 Thread ai2472206007
\sidenote {sidenote} \sidenote \setupsidenote[ align=, conversion=n, way=bytext, style=, ] \definecounter[SidenoteMarkNumber] [prefix=no] \definemargindata [SidenoteContent][outer] [margin=margin,width

[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
e code: What effect have \c!, \s!, and \v!? These commands exist a lot in the above cited files. Gerion Am Mittwoch, 17. April 2024, 15:44:12 MESZ schrieb Gerion Entrup: > Hi, > > > The APS style is an example of a number-based citation system. As you > > are looking for a

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Gerion Entrup
Hi, > The APS style is an example of a number-based citation system. As you > are looking for a tag-based citation, it might be better to start with > something like the APA style. I'm kind of satisfied with the publication-list layout of the APS style so I chose this

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Alan Braslau via ntg-context
Hello, The APS style is an example of a number-based citation system. As you are looking for a tag-based citation, it might be better to start with something like the APA style. Is there some specification for your short tag-based citation style? Alan On Tue, 16 Apr 2024 06:04:35 +0200

[NTG-context] Customize citation format of a bibliography (use the short form as reference format)

2024-04-15 Thread Gerion Entrup
Hi, I'm trying to customize a cite format in a bibliography. Currently, I'm using the aps style which fits so far, except of the plain number as reference. In concrete, I want to change the following: - Use the first letter of the last name and the year as reference (this should be exactly

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-15 Thread Jim
ch, since then the previously working > viewers might break. He therefore added repeat as a key, so > \setupsynctex[state=repeat] will use the new approach. Thanks for that clarification. >>> - we assume that synctex is set up in the document with >>> \setupsynctex[sta

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
Command/ startxtable Command/ stoplinenote Command/ style Command/ synonym Command/ textbackground Command/ textnote Command/ tooltip Command/ type Command/ typebuffer Command/ unit ___ If your question is of interest to ot

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Mikael Sundqvist
t; - we assume that synctex is set up in the document with > > > \setupsynctex[state=start] > > \setupsynctex[state=repeat] % less efficient but gets around issue > > I haven't been using either of those, since auctex does The Right Thing for > me. Or, at least, it used

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Jim
emacs+auctex+PDFview work now? > - we assume that synctex is set up in the document with > \setupsynctex[state=start] > \setupsynctex[state=repeat] % less efficient but gets around issue I haven't been using either of those, since auctex does The Right Thing for me. Or, at least,

[NTG-context] Re: Most recent context doesn't like synctex?

2024-04-13 Thread Hans Hagen
[state=start] \setupsynctex[state=repeat] % less efficient but gets around issue - when context is run 'headless' (on a server) it's often done in batchmode because one knows that the style works and in that case synctex makes no sense so we disable it; this avoids the need to patch the style

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
Hm, I see. This question appeared while using the tug-boat-style. Taking the example at the end of the style I adapted my article accordingly. However I missed the point to enable the mode “columns”… Thanks for the explanation! Willi > On 10 Apr 2024, at 14:21, Hans Hagen wrote: > >

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
for i within tt : pathpart i && endfor cycle withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text \stopMyhead \stoptext and the code below works but does not colo

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Ursula Hermann
ll). Or, do you define commands for each page? I think it is better to define a single margin text command and use a doublesided page setup. > \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] > \definemarginframed[MyInMargin][topframe=on,b

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jean-Pierre Delange
Hi Jeroen, You can try this : \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=left] Sorry if I send owls to Athens ! JP Le 19/03/2024 à 15:38, Jeroen a écrit : For comments that are placed in the margin

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 12:59: I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chap

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 19:34: This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata   [inouter]   [style={\switchtobodyfont[8pt]}] This one does not seem to make a change

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
{\framed[width=130mm,align=right,leftframe=on, rulethickness=0.8pt]{#2}}% \egroup} \setuplabeltext[chapter=Boek~] \setuphead[chapter][style={\bfc}, command=\HeadTitle, textstyle=bold] ... \startchapter [title={Algemene Beginselen}, ownnumber={I}] Op di 19 mrt 2024 om 15:49 schreef Hraban Ramm

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Jeroen
This one unbolds the margin text: \setupmargindata[inouter][style=\tf] This one works well, it unbolds and reduces the size of the margin text: \setupmargindata [inouter] [style={\switchtobodyfont[8pt]}] This one does not seem to make a change: \setupmargindata[inmargin][style={\tf

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Marco Patzer
On Tue, 19 Mar 2024 15:38:16 +0100 Jeroen wrote: > Can this text be placed in the margin in regular text or possibly > in slightly smaller font size compared to the regular text in the > document? \setupmargindata [inleft] [style=\tf

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
in the document? \setupmargindata[inouter][style=] or \setupmargindata[inleft][style={\switchtobodyfont[8pt]}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Hraban Ramm
? Try \setupmargindata[inmargin][style={\tf}] I don’t know why the default is bold. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
] to assure the same text height. HTH, Hraban Am 19.03.24 um 12:59 schrieb Jeroen: I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
ommands for each page? I think it is better to define a single margin text command and use a doublesided page setup. > \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] > \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt, &g

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
, width=13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par So I have here an example from the second page: \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] \definemarginframed[MyInMargin

[NTG-context] Re: Japanese

2024-03-15 Thread luigi scarso
[probably off-topic , my apologies ] For a project in my spare time (i.e. no deadlines) I am collecting all kind of info I can find on the net (so free/non free fonts, books , specs, images raster /vectorial..whatever) on the Kaiti (楷体) or “Regular style” https://fonts.google.com/knowledge

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
't showing the error, so something else in the document is causing it: \setvalue{W3}{this is text for W3} \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=3, pagenumber=yes, indicator=no] % \defineregister[learnedlong][compress=yes] \set

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
the error, so something else in the document is causing it: \setvalue{W3}{this is text for W3} \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=3, pagenumber=yes, indicator=no] % \defineregister[learnedlong][compress=yes] \set

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
} \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=3, pagenumber=yes, indicator=no] % \defineregister[learnedlong][compress=yes] \setupregister[learnedlong][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \define[1

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Hans Hagen
is whether this was caused by simply enabling compact fonts or by doing it twice. The results happen when you use compact mode and is a result of \glyphslant which keeps the value of the italic style even when you switch back to the upright style. Many thanks for your explaination, using

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Wolfgang Schuster
compact fonts or by doing it twice. The results happen when you use compact mode and is a result of \glyphslant which keeps the value of the italic style even when you switch back to the upright style. Many thanks for your explaination, using the low level commands \glyphscale \glyphxscale

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Hans Hagen via ntg-context
you use compact mode and is a result of \glyphslant which keeps the value of the italic style even when you switch back to the upright style. Many thanks for your explaination, using the low level commands \glyphscale \glyphxscale \glyphyscale \glyphslant \glyphweight directly can have side

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Pablo Rodriguez via ntg-context
results happen when you use compact mode and is a result of > \glyphslant which keeps the value of the italic style even when you > switch back to the upright style. Many thanks for your explaination, Pablo __

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-09 Thread Wolfgang Schuster
by default in LMTX. AFAIR Hans uses the setting in his own documents. Then my question is whether this was caused by simply enabling compact fonts or by doing it twice. The results happen when you use compact mode and is a result of \glyphslant which keeps the value of the italic style eve

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Henning Hraban Ramm
}, it={style: regular, features:{default, quality, slanted}}, sl={style: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Wolfgang Schuster
}, it={style: regular, features:{default, quality, slanted}}, sl={style: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d

[NTG-context] \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
Dear list, the following latest gets differents results when compiled with MkXL and MkIV (in current latest from 2024.03.05 11:26): \definefontfamily[mainface][rm][TeX Gyre Termes] [features={default, quality}, it={style: regular, features:{default, quality, slanted}}, sl={style

[NTG-context] Re: additional font faces

2024-03-08 Thread Hans Hagen
\md\normalmd \let\mi\normalmi \let\ms\normalms \definehighlight[medium   ] [command=no,style=medium] \definehighlight[mediumitalic ] [command=no,style=mediumitalic] \definehighlight[mediumslanted] [command=no,style=mediumslanted] Is that necessary? And is it enough? \starttypescript [sans

[NTG-context] additional font faces

2024-03-08 Thread Henning Hraban Ramm
} \let\md\normalmd \let\mi\normalmi \let\ms\normalms \definehighlight[medium ] [command=no,style=medium] \definehighlight[mediumitalic ] [command=no,style=mediumitalic] \definehighlight[mediumslanted] [command=no,style=mediumslanted] Is that necessary? And is it enough? \starttypescript

[NTG-context] Re: issue mixing font features (LMTX & MkIV)

2024-03-04 Thread Hans Hagen via ntg-context
On 3/3/2024 11:54 AM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted

[NTG-context] issue mixing font features (LMTX & MkIV)

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfeature[wider][extend=2] \definefontfamily[mainface][rm][TeX Gyre Pagella] [features={default, quality, wider}, it={style: regular, features:{default, slanted, quality}}, bf={style: regular, features:{default, boldened-30

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
yes,1em] \setupinterlinespace [line=2\bodyfontsize, height=0.9, depth=0.1] \setupruby [style={\switchtobodyfont[6pt]}] \setuppagenumbering [alternative=doublesided, location=none] \setuphead [title,subject] [align=middle] \startsetups [header:rightpage] \startframed

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] % Use Theano Didot as Ancient Greek font \definefallbackfamily[mainface][serif

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Ursula Hermann
style is interesting. I do not understand the purpose of the \it for example. I did put something together that you can try, but I don't know if this is what you are looking for. \starttext \startitemize[n] \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies n > 1}, \st

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Mikael Sundqvist
Hi Uschi, Your coding style is interesting. I do not understand the purpose of the \it for example. I did put something together that you can try, but I don't know if this is what you are looking for. \starttext \startitemize[n] \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \impl

[NTG-context] Re: Issue with italics

2024-02-26 Thread Jean-Pierre Delange
] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={setupinterlinespace[line=2.8ex]}] \setupmarginframed[inmargin][align=right] \setupbodyfontenvironment[default][em=italic] \definefallbackfamily[mainface][rm][Theano Didot

[NTG-context] Re: MetaPost lines in tables?

2024-02-22 Thread Henning Hraban Ramm
not much interested in dashed borders but to have lines affected by my sketchy style - courtesy of Aditya et al., see below) Taco, will the syntax pages in the wiki update automatically to a newer version? """ \startuseMPgraphic{mp:sketchy} input mp-sketch.mp; sketchypaths; ske

[NTG-context] Re: Memory consumption in new upload

2024-02-17 Thread Hans Hagen
and for a specific style that demands certain fonts one can also put the definitions in the style. On Sun, Feb 18, 2024 at 3:12 AM Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> wrote: The only change I made was that I started using a 9pt modern font than a 10 pt moder

[NTG-context] BUG: colour spilling in btxrendering

2024-02-01 Thread Alexandre Christe
Dear list, It seems with one of the latest lmtx this old reported issue (https://www.mail-archive.com/ntg-context@ntg.nl/msg84988.html) is back. MWE: \setupinteraction[state=start,color=red,style=] \setupbtx[aps:cite][alternative=entry] \usebtxdefinitions[aps] \startbuffer [bib] @ARTICLE

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
ki.contextgarden.net/Command/starttabulate >> and >> https://wiki.contextgarden.net/Tabulate >> and >> http://www.ntg.nl/maps/22/28.pdf >> there is a conspicuous lack of examples with vrules. And the tables in the >> (at least) the starttabulate wiki page which use

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
don't use tabulate to create the tables. Coincidence? I think not. :-) Table which rely on rules to make the content readable have a serious problem (read Edward Tufte books how you can improve the visual style) but the better alternative in this case are either natural tables or extreme tabl

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen
style (also lightweight). On the contrary context uses layers of abstraction, a more complex font, math, structure, page etc etc etc sytstem. In fact, plain tex had to be as it is because otherwise it would take ages to process teh texbook. On a pc one could see the page numbers crawl so

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
> flushing realpage 19, userpage 17, subpage 19 structure > sectioning > section @ level 3 : 0.3.1 -> Scripts tex error > tex error on line 370 in file /home/gerion/src/context/doc/context/sources/general/manuals/math/math-spacing.tex: Math error: par

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
d for align, so now that can >>> be used "inline" in formulas. See attached. I hope it helps. >>> >>> Best, Mikael >>> >>> On Tue, Jan 16, 2024 at 9:41 PM Otared Kavian >> <mailto:ota...@gmail.com>> wrote: >>>> >>>> Hi M

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
these documents cannot go through the mailing list.In a document written a year and half ago I have the following definition:\definemathmatrix[alignedcases][align={right,left,left},distance=3pt,left={\left\{},right={\right.},style=\displaystyle]in order to typeset multi-lines formulas regro

[NTG-context] Re: issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Mikael Sundqvist
yfontenvironment[16pt] > \setupbodyfont[mainface, 16pt] > \starttext > \startmakeup[standard][style=\bf] > \switchtobodyfont[coverface] > This is a cover. > \stopmakeup > > This is text. > \stoptext > > Compiling the sample with current latest (2024.01.08 11:23),

[NTG-context] issue with fonts in current latest (2024.01.08 11:23)

2024-01-15 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[coverface][rm][TeX Gyre Termes] \setupbodyfont[mainface, 16pt] \starttext \startmakeup[standard][style=\bf] \switchtobodyfont[coverface] This is a cover. \stopmakeup

[NTG-context] OT: special ToC

2024-01-15 Thread Henning Hraban Ramm
I came across a table of contents style that’s hardly possible with TeX: https://historians.social/@dbellingradt/111760591144801241 (image is too big for the ML) (Yes of course you can do it with manual references and MetaPost lines…) ;D

[NTG-context] issue with \setuptyping (and XML sources)

2024-01-14 Thread Pablo Rodriguez via ntg-context
Dear list, the issue I’m experiencing comes from XML sources typeset with ConTeXt. I have tried, but I found no way to get a minimal sample. For code fragments in the XML source, I use: \bgroup\xmlprettyprinttext{#1}{none}\egroup To which I apply: \setuptyping [style={\tt\wider

[NTG-context] Re: Do we have a geometry library for Metafun?

2024-01-13 Thread Gavin via ntg-context
Hi Shiv, The author of tikz-euclide has another package, tikz-elements, which looks like it could be used to do all of these calculations for MetaFun. The tikz-elements package, in spite of its name, appears to contain exactly one line of TikZ code. This line is in the very simple style file

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
inbetween. 2. Don't add the "MkXL" bit - it's a distracting detail that no one needs to know at this stage. Also it looks like "Mk 40" in Roman numerals, or extra large. ok. But “extra large” is intentional, I guess. 3. I though Hans had stopped using the TeX styl

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread vm via ntg-context
On 12/01/2024 00:18, Bruce Horrocks wrote: 3. I though Hans had stopped using the TeX style capitalisation now i.e. just "Context"? Maybe this is the time to change to a 'ctx' token instead of 'context' (e.g. a lot ambiguity when searching online) ctx as in cee-tee-ex or i

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Bruce Horrocks
actual drawing. 2. Don't add the "MkXL" bit - it's a distracting detail that no one needs to know at this stage. Also it looks like "Mk 40" in Roman numerals, or extra large. 3. I though Hans had stopped using the TeX style capitalisation now i.e. just "Context"

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
ow}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width] \setupexternalfigures[location=default] \setupmargindata[style={\tfx}, stack=yes] \setupmargindata[inouter][color=orange] \setupmargindata[ininner][color=blue] \showframe \starttext \section{Margin Tes

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
em? Take the file that is not working. Comment out as much as possible, but so that you still have something that gives unexpected output. A sample file that gives correct output is not so easy to help from. /Mikae

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 30.12.2023 um 09:40: I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? Replace the \inmframed command with \mcframed. \define[1]\oldfact   {\mcframed[frame=off,strut=no,leftframe=on,bottomframe

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Shiv Shankar Dayal
I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? On Wed, Dec 27, 2023 at 6:18 PM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > > > A simple alternative to tikz is the usage of \framed. >>

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread lynx
By "old style" factorial, do you mean the inside corner notation (shaped like an L )? If so, Why? On 2023-12-27 05:01, Shiv Shankar Dayal wrote: > Hi, > > How can I typeset old style factorial symbol and theorems in ConTeXt. I found > https://www.ntg.nl/maps/36/09.pd

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Mikael Sundqvist
Hi! Not by computer, and I'm sure Hans (or Wolfgang) has already shown a way to do the old factorial with the actuarian mechanism when I'm back to the computer... /Mikael Den ons 27 dec. 2023 13:49Shiv Shankar Dayal skrev: > > > A simple alternative to tikz is the usage of \framed. >> >>

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
A simple alternative to tikz is the usage of \framed. > > \define[1]\oldfact > {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} > > \starttext > > \m{\oldfact{n}} > > \stoptext > > Wolfgang > > Thanks a lot. It should work nicely. -- Respect, Shiv Shankar Dayal

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:31: What do you expect here to pass as argument to the oldfact command? I will pass something like n, 5, 10 etc. A simple alternative to tikz is the usage of \framed. \define[1]\oldfact  

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
What do you expect here to pass as argument to the oldfact command? > I will pass something like n, 5, 10 etc. > > This works here: > > \defineenumeration > [proof] > [closesymbol={\mathematics{\square}}] > > \starttext > > \startproof > \samplefile{lorem} > \stopproof > > \stoptext >

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
/maps/36/09.pdf page no. 28 then proof is defined as \defineenumeration [proof] [ text=Proof, number=no, headstyle=italic, title=no, %this is the default closesymbol={\mathematics{\square}}, style=normal] But the closessymbol does not work. I will create a minimum working example and post

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
=no, %this is the default closesymbol={\mathematics{\square}}, style=normal] But the closessymbol does not work. I will create a minimum working example and post it as soon as possible. On Wed, Dec 27, 2023 at 5:44 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Shi

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:01: Hi, How can I typeset old style factorial symbol and theorems in ConTeXt. I found https://www.ntg.nl/maps/36/09.pdf but it does not work. What adaptation should I do for it to work? Can you be more precise what you have tried and doesn't

[NTG-context] old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
Hi, How can I typeset old style factorial symbol and theorems in ConTeXt. I found https://www.ntg.nl/maps/36/09.pdf but it does not work. What adaptation should I do for it to work? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
.;C:/MyTeXFiles/Bib; TEXINPUTS .;C:/MyCurrentTeXProject;C:/MyTeXFiles//; The list of folders is separated by a semicolon, and "//" at the end indicates that all subfolders should be searched as well. Even though latest MiKTeX and TeX Live allow Windows-style specification of fo

[NTG-context] Re: Problem with the paragraph

2023-12-18 Thread Ursula Hermann
:44, Ursula Hermann wrote: > > If I change the name of the textbackground with my example, I sent yesterday, > there is no color in the paragraph. > Try the following version of your example which incoporates Hraban's and Wolfgang's suggestions. Also take care over changing sty

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
take care over changing style so use \bold{this is bold} or {\bf this is bold} but not \bf{this is bold}. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper

[NTG-context] About framedtext

2023-12-13 Thread Fabrice Couvreur
[MyColorA][.75(MyColorB,white)] \defineframed [FrameTitle] [frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color, backgroundcolor=MyColorD, location=depth] \defineframedtext [FramedText] [offset=0.25em, style=\ss

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
{} and \tfrac{} ? \frac switches the math style while \tfrac (textstyle), \dfrac (displaystyle) and \sfrac (scriptstyle) enforce a certain style. begin example \startbuffer[frac] \frac{1}{2} + \dfrac{1}{2} - \tfrac{1}{2} + \sfrac{1}{2} \stopbuffer \starttext \startformula \getbuffer[frac

[NTG-context] Re: (again) wrong destination types?

2023-12-06 Thread Pablo Rodriguez via ntg-context
setupinteraction[state=start,page=fit,focus=standard] > afterwards. Many thanks for your reply, Bruce. The following code seems to solve my issues: \def\MyGoTo#1[#2]{\setupinteraction[state=start, style=, display=new, color=, contrastcolor=, page={auto,name}, focus=standard]%

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Marco Patzer
On Fri, 1 Dec 2023 15:09:32 +0100 Wolfgang Schuster wrote: > You get the same error with Latin Modern as soon as you use a non > predefined font size in combination with bold math. True, thanks for pointing that out. I wasn't aware and frankly, that's rather unexpected behaviour. So to put it

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 22:23: On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: Use the \definetypeface command to load the math font. Math fonts always use special settings or load additional settings which are missing when you use \definefontfamily. \definetypeface

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > Use the \definetypeface command to load the math font. Math fonts > always use special > settings or load additional settings which are missing when you use > \definefontfamily. > > \definetypeface [mainface] [mm] [math] [pagella]

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > > %% comment/remove this line and it works > > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] > > Use the \definetypeface command to load the math font. That example was taken straight from

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 20:43: Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works

[NTG-context] Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
ter 'subshiftdown' with id 48 in style 2 is not set \math_m_nop #1->\relax \ifmmode #1\else \normalstartimath \begingroup #1\endgroup \normalstopimath \fi \bold{\math{x_y} What is the issue here? Marco LMTX 2023.09.04

[NTG-context] Re: It works after a few changes but ..

2023-11-23 Thread Ursula Hermann
25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic,

[NTG-context] Re: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
, > distance=0.5em, > headstyle=bold, > titlestyle=normal, > way=bytext, > conversion=numbers] > \defineenumeration > [theorem] > [text=Theorem, > title=yes, > style=italic, > list=all, > listtext={Theorem }] > \starttext > \margintext{

[NTG-context] Re: It works after a few changes but ..

2023-11-20 Thread Ursula Hermann
25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic,

[NTG-context] Re: It works after a few changes but ..

2023-11-18 Thread Bruce Horrocks
em, title=yes, style=italic, list=all, listtext={Theorem }] \starttext \margintext{2.1.1}{\starttheorem The square on the hypotenuse is equal to the sum of the squares on the other two sides. Ach is das schön, dass du da bist \stoptheorem } \stoptext I see also in this thread that

[NTG-context] Problem with textstyle

2023-11-17 Thread Rik Kabel
, ] \starttext \startchapter    [title={Oops!}] \input knuth-gpt \par \stopchapter \stoptext Replacing the textstyle /cap/ by any of /bold/, /slanted/, /smallcaps/, and /italic/ results in a clean compilation but the indicated style is not applied. Using a style

[NTG-context] It works after a few changes but ..

2023-11-17 Thread Ursula Hermann
[ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic, list=all

[NTG-context] Re: how can I do this in CLD

2023-11-08 Thread Henning Hraban Ramm
Am 08.11.23 um 18:44 schrieb Henning Hraban Ramm: Hi, I’m generating some code in a loop and would like to use formatting like \quotation or \emph in a caption: context.startplacefigure({title = "Style " .. context.quotation(style)}) That doesn’t work. I guess context.quotation i

[NTG-context] how can I do this in CLD

2023-11-08 Thread Henning Hraban Ramm
Hi, I’m generating some code in a loop and would like to use formatting like \quotation or \emph in a caption: context.startplacefigure({title = "Style " .. context.quotation(style)}) That doesn’t work. I guess context.quotation is executed immediately and doesn’t return anything?

  1   2   3   4   5   6   7   8   9   10   >